package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataContractXtdDao;
import io.renren.entity.DataContractXtdEntity;
import io.renren.service.DataContractXtdService;



@Service("dataContractXtdService")
public class DataContractXtdServiceImpl implements DataContractXtdService {
	@Autowired
	private DataContractXtdDao dataContractXtdDao;
	
	@Override
	public DataContractXtdEntity queryObject(String id){
		return dataContractXtdDao.queryObject(id);
	}
	
	@Override
	public List<DataContractXtdEntity> queryList(Map<String, Object> map){
		return dataContractXtdDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataContractXtdDao.queryTotal(map);
	}
	
	@Override
	public void save(DataContractXtdEntity dataContractXtd){
		dataContractXtdDao.save(dataContractXtd);
	}
	
	@Override
	public void update(DataContractXtdEntity dataContractXtd){
		dataContractXtdDao.update(dataContractXtd);
	}
	
	@Override
	public void delete(String id){
		dataContractXtdDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataContractXtdDao.deleteBatch(ids);
	}
	
}
